// Video service module
const delay = function(ms) {
  return new Promise(function(resolve) {
    setTimeout(resolve, ms);
  });
};

const videoService = {
  fetchAllVideos: async function() {
    await delay(100);
    return [{id: '1', title: 'Test Video'}];
  }
};

export { videoService };
